<!--
  @author heguanghua
  @since 2019/06/12 11:57
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead>
    <tr>
        <th lay-data="{field:'keepType', width:100, unresize:true, align:'center', hide:true}">保内/保外</th>
        <th lay-data="{field:'tariffId', width:100, unresize:true, align:'center', hide:true}">价格表ID</th>
        <th lay-data="{field:'name', width:300, unresize:true, align:'center'}">配置名称</th>
        <th lay-data="{field:'tariffName', width:300, unresize:true, align:'center'}">渠道价格表</th>
        <th lay-data="{field:'updateTime', width:300, unresize:true, align:'center'}">最近修改时间</th>
        <th lay-data="{field:'操作', unresize:true, align:'center', fixed:'right', toolbar: '#zmn-table-bar'}">操作</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="item:${items}">
        <td th:text="${item.keepType}"></td>
        <td th:text="${item.tariffId}"></td>
        <td th:text="${item.keepType == 1 ? '保外价格表' : '保内价格表'}"></td>
        <td th:text="${item.tariffId == null ? '-': item.tariffName}"></td>
        <td th:text="${item.updater == null ? '' : item.updater} + '/' + ${T(com.zmn.common.utils.date.DateUtil).toString(item.updateTime)}">
            updaterAndUpdateTime
        </td>
    </tr>
    </tbody>
</table>
